﻿function CKEDITOR_GETURL(resource) {
    var match = resource.match(/managedlink\/plugin\.js$/);
    if (match) {
        return '<%= WebResource("ReadyApps.Resources.managedlink.plugin.js") %>';
    }
    else {
        match = resource.match(/managedlink\/dialogs\/managedlink\.js$/);
        if (match) {
            return '<%= WebResource("ReadyApps.Resources.managedlink.dialogs.managedlink.js") %>';
        }
    }
}